#ifndef __CK_ENUM_DATASET__H__
#define __CK_ENUM_DATASET__H__

#include "ckObject.h"
#include "zCore.h"
#include <vector>

namespace ck
{
	namespace data
	{
		class Dataset;

		class ZCORE_API EnumDataset : public ckObject
		{
		public:
			EnumDataset();
			virtual ~EnumDataset();
		public:
			void			Add(Dataset* pCase);
			void			Reset();
			Dataset*		Next();
		private:
			void			Cleanup();

		private:
			std::vector<Dataset*>	m_datasets;
			std::vector<Dataset*>::iterator	m_iter;
		};

	}
}

#endif //__CK_ENUM_DATASET__H__
